/**
    package: learn-go
    filename: strings
    author: diogo@gmail.com
    time: 2021/11/30 11:21
**/
package main

import (
	"fmt"
	"strings"
)

func main() {

	ostr := "./bin/pname"

	fmt.Println(ostr[2:])

	cmdBuild := strings.Replace(ostr[2:], "/", "\\", 1)

	fmt.Println(cmdBuild)
}
